package com.yang.SpringTest.annotation.autowiredLearn;

import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * <p>Controller类</p>
 *
 * @author By: chengxuyuanshitang
 * Package com.yang.SpringTest.annotation.autowiredLearn
 * Ceate Time 2024-03-28 13:53
 */
@ToString
@Controller
public class AutowiredDemoController {

    @Autowired
    private AutowiredDemoService autowiredDemoService;

    public void test () {
        System.out.println ("AutowiredDemoController.test");
        autowiredDemoService.test ();
    }

}

